﻿using Basic.FlowRemoteModel.FlowNode.Model;

namespace Basic.FlowService.Interface
{
    public interface IFlowNodeService
    {
        long Add ( FlowNodeAdd data );
        void Delete ( long id );
        FlowNodeDto Get ( long id );
        FlowNodeBase[] GetNodes ( long flowId );
        bool Set ( long id, FlowNodeSet set );
        bool SetBeginNode ( long id, BeginNodeSet node );
        void SetCoordinate ( long id, ImgPoint point );
        bool SetIntoOut ( long id, FlowNodeIntoOut datum );
        bool SetForm ( long id, FlowNodeForm set );
    }
}